/*     */ package com.hp.bon.logreverse.bi;
/*     */ 
/*     */ import com.hp.bon.sgw.bean.XmlMessage;
/*     */ import com.hp.ocs.diameter.message.Message;
/*     */ 
/*     */ public class BICallParam
/*     */ {
/*     */   protected String sessionId;
/*     */   protected String originHost;
/*     */   protected String serviceContextId;
/*     */   protected String capabilityName;
/*     */   protected Object request;
/*     */   protected Object answer;
/*     */   protected String nodeName;
/*     */   protected Integer lineNum;
/*     */   protected int protocol;
/*     */   protected String fileName;
/*     */   public static final int MSG_DCC = 0;
/*     */   public static final int MSG_XML = 1;
/*     */   private Object usrObject;
/*     */ 
/*     */   public String getNodeName()
/*     */   {
/*  23 */     return this.nodeName;
/*     */   }
/*     */ 
/*     */   public void setNodeName(String nodeName) {
/*  27 */     this.nodeName = nodeName;
/*     */   }
/*     */ 
/*     */   public void setSessionId(String sessionId) {
/*  31 */     this.sessionId = sessionId;
/*     */   }
/*     */ 
/*     */   public void setOriginHost(String originHost) {
/*  35 */     this.originHost = originHost;
/*     */   }
/*     */ 
/*     */   public void setServiceContextId(String serviceContextId) {
/*  39 */     this.serviceContextId = serviceContextId;
/*     */   }
/*     */ 
/*     */   public void setCapabilityName(String capabilityName) {
/*  43 */     this.capabilityName = capabilityName;
/*     */   }
/*     */ 
/*     */   public void setRequest(Message request) {
/*  47 */     this.request = request;
/*     */   }
/*     */ 
/*     */   protected BICallParam(Object request2, String sessionID2, String serviceContextId2, String nodeName2, Integer lineNum2, String fileName2)
/*     */   {
/*  54 */     if ((request2 instanceof Message))
/*  55 */       this.protocol = 0;
/*  56 */     else if ((request2 instanceof XmlMessage))
/*  57 */       this.protocol = 1;
/*     */     else {
/*  59 */       this.protocol = -1;
/*     */     }
/*     */ 
/*  62 */     this.request = request2;
/*  63 */     this.sessionId = sessionID2;
/*  64 */     this.serviceContextId = serviceContextId2;
/*  65 */     this.nodeName = nodeName2;
/*  66 */     this.lineNum = lineNum2;
/*  67 */     this.fileName = fileName2;
/*     */   }
/*     */ 
/*     */   public String getOriginHost() {
/*  71 */     return this.originHost;
/*     */   }
/*     */ 
/*     */   public String getServiceContextId() {
/*  75 */     return this.serviceContextId;
/*     */   }
/*     */ 
/*     */   public String getSessionId() {
/*  79 */     return this.sessionId;
/*     */   }
/*     */ 
/*     */   public String getCapabilityName() {
/*  83 */     return this.capabilityName;
/*     */   }
/*     */ 
/*     */   public void setAnswer(Message answer) {
/*  87 */     this.answer = answer;
/*     */   }
/*     */ 
/*     */   public Object getUsrObject()
/*     */   {
/*  94 */     return this.usrObject;
/*     */   }
/*     */ 
/*     */   public void setUsrObject(Object usrObject) {
/*  98 */     this.usrObject = usrObject;
/*     */   }
/*     */ 
/*     */   public Integer getLineNum() {
/* 102 */     return this.lineNum;
/*     */   }
/*     */ 
/*     */   public void setLineNum(Integer lineNum) {
/* 106 */     this.lineNum = lineNum;
/*     */   }
/*     */ 
/*     */   public Object getRequest() {
/* 110 */     return this.request;
/*     */   }
/*     */ 
/*     */   public Object getAnswer() {
/* 114 */     return this.answer;
/*     */   }
/*     */ 
/*     */   public void setRequest(Object request) {
/* 118 */     this.request = request;
/*     */   }
/*     */ 
/*     */   public void setAnswer(Object answer) {
/* 122 */     this.answer = answer;
/*     */   }
/*     */ 
/*     */   public long getRequestTime() {
/* 126 */     if ((this.request instanceof Message))
/* 127 */       return ((Message)this.request)._rt0;
/* 128 */     if ((this.request instanceof XmlMessage)) {
/* 129 */       return ((XmlMessage)this.request).getMsgTime();
/*     */     }
/* 131 */     return -1L;
/*     */   }
/*     */ 
/*     */   public int getProtocol() {
/* 135 */     return this.protocol;
/*     */   }
/*     */ 
/*     */   public void setProtocol(int protocol) {
/* 139 */     this.protocol = protocol;
/*     */   }
/*     */ 
/*     */   public String getFileName() {
/* 143 */     return this.fileName;
/*     */   }
/*     */ 
/*     */   public void setFileName(String fileName) {
/* 147 */     this.fileName = fileName;
/*     */   }
/*     */ 
/*     */   public String toString()
/*     */   {
/* 152 */     return "BICallParam [sessionId=" + this.sessionId + ", originHost=" + this.originHost + ", serviceContextId=" + this.serviceContextId + ", capabilityName=" + this.capabilityName + ", request=" + this.request + 
/* 153 */       ", answer=" + this.answer + ", nodeName=" + this.nodeName + ", lineNum=" + this.lineNum + ", protocol=" + this.protocol + ", fileName=" + this.fileName + ", usrObject=" + this.usrObject + "]";
/*     */   }
/*     */ }

/* Location:           C:\Users\think\Desktop\sgw_2.1.jar
 * Qualified Name:     com.hp.bon.logreverse.bi.BICallParam
 * JD-Core Version:    0.6.1
 */